package cn.com.bod.fas.pm.model.po;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;
import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;


/**
 * @description 个人客户实体经营信息
 * @author houyaoxun
 * @date 2019年9月25日
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Data
@Entity
@Table(name = "cu_per_entity")
public class CuPerEntity extends BaseDomain implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 实体ID **/
	@Id
	@Column(name = "ENTITY_ID")
	private Integer entityId;

	/** 客户编号 **/
	@Column(name = "CUST_NO", unique = false, nullable = true, length = 20)
	private String custNo;
	
	/** 实体名称 **/
	@Column(name = "ENTITY_NAME", unique = false, nullable = true, length = 50)
	private String entityName;
	
	/** 实际控制人 **/
	@Column(name = "ACTUAL_CTLR", unique = false, nullable = true, length = 20)
	private String actualCtlr;
	
	/** 注册资本 **/
	@Column(name = "REG_CAP_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal regCapAmt;
	
	/** 开业日期 **/
	@Column(name = "OPENING_DATE", unique = false, nullable = true, length = 8)
	private String openingDate;
	
	/** 是否工商登记 **/
	@Column(name = "REG_FLAG", unique = false, nullable = true, length = 10)
	private Integer regFlag;
	
	/** 是否三证合一 **/
	@Column(name = "TRINITY_FLAG", unique = false, nullable = true, length = 10)
	private Integer trinityFlag;
	
	/** 组织机构代码 **/
	@Column(name = "GROUP_ORG_CODE", unique = false, nullable = true, length = 20)
	private String groupOrgCode;
	
	/** 社会信用代码 **/
	@Column(name = "SOC_CRDT_CODE", unique = false, nullable = true, length = 20)
	private String socCrdtCode;
	
	/** 机构所在地-省 **/
	@Column(name = "PROV_ID", unique = false, nullable = true, length = 10)
	private Integer provId;
	
	/** 机构所在地-市 **/
	@Column(name = "CITY_ID", unique = false, nullable = true, length = 10)
	private Integer cityId;
	
	/** 机构所在地-区 **/
	@Column(name = "COUNTY_ID", unique = false, nullable = true, length = 10)
	private Integer countyId;
	
	/** 机构所在地-详细地址 **/
	@Column(name = "PHYS_ADDR", unique = false, nullable = true, length = 30)
	private String physAddr;
	
	/** 机构所在地-邮政编码 **/
	@Column(name = "ZIP_CODE", unique = false, nullable = true, length = 10)
	private String zipCode;
	
	/** 经营场地面积 **/
	@Column(name = "OPER_PLACE_AREA", unique = false, nullable = true, length = 20)
	private String operPlaceArea;
	
	/** 经营单位类型 **/
	@Column(name = "ORG_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer orgTypeId;
	
	/** 企业规模 **/
	@Column(name = "CORP_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer corpSizeId;
	
	/** 职务 **/
	@Column(name = "POS_ID", unique = false, nullable = true, length = 10)
	private Integer posId;
	
	/** 股东人数 **/
	@Column(name = "STOCK_HOLDER_NUMS", unique = false, nullable = true, length = 10)
	private Integer stockHolderNums;
	
	/** 主营业务 **/
	@Column(name = "MAIN_BIZ", unique = false, nullable = true, length = 50)
	private String mainBiz;
	
	/** 备注 **/
	@Column(name = "REMARK", unique = false, nullable = true, length = 200)
	private String remark;
	
	/** 数据状态 **/
	@Column(name = "STATUS", unique = false, nullable = true, length = 10)
	private Integer status;
	
	/** 注册国家 **/
	@Column(name = "REG_COUNTRY_ID", unique = false, nullable = true, length = 10)
	private Integer regCountryId;
	
	/** 注册号 **/
	@Column(name = "REG_NO", unique = false, nullable = true, length = 20)
	private String regNo;
	
	/** 经营场所 **/
	@Column(name = "OPER_PLACE_ADDR", unique = false, nullable = true, length = 30)
	private String operPlaceAddr;
	
	/** 组成行式 **/
	@Column(name = "FORM_TYPE_ID", unique = false, nullable = true, length = 20)
	private String formTypeId;
	
	/** 是否负债 **/
	@Column(name = "DEBT_FLAG", unique = false, nullable = true, length = 10)
	private Integer debtFlag;
}